package com.aaa.vegetablemarketexpress.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @FileName: ShoppingCart
 * @Description:
 * @Author: 张钰哲
 * @CreateTime: 2025/9/17 20:31
 * @Version: 1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ShoppingCart {
    private Long cartId;        // 购物车ID
    private Long userId;        // 用户ID
    private Long productId;     // 商品ID
    private Integer productCount; // 购买数量
    private BigDecimal productPrice; // 商品单价
    private Date createTime;    // 创建时间
    private Date updateTime;    // 更新时间
}
